<?php
$url=$_SERVER["HTTP_HOST"];
$Shortcut = "[InternetShortcut]
URL=http://$url/user/login.php
IDList=
IconIndex=43
IconFile=C:\Windows\system32\SHELL32.dll
HotKey=1626
[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,2";
$file_name="铁路物流查询.url";
$encoded_filename = str_replace("+", "%20",urlencode($file_name));
$ua=$_SERVER['HTTP_USER_AGENT'];
header("Pragma: public");
header('Content-Type: text/url;');
if (preg_match("/MSIE/", $ua)) {
	header('Content-Disposition: attachment;filename="' . $encoded_filename . '"');
} else if (preg_match("/Firefox/", $ua)){
	header('Content-Disposition: attachment; filename*="utf8\'\'' . $file_name . '"');
}else {
	header('Content-Disposition: attachment; filename="' . $file_name . '"');
}
echo $Shortcut;
?>